/***************************************************************************
 * File name: IEPubBasic.h
 * Original author: caizhifei2003@163.com
 * Date: 2013.03.01
 ***************************************************************************/
#ifndef _I_EPUB_BASIC_H_
#define _I_EPUB_BASIC_H_

#include "EPubBase.h"
#include "EPubDefinitions.h"
#include "EPubPointer.h"
#include "IEPubBuffer.h"

class IEPubBasic : public EPubBase
{
public:
	virtual EPUB_BasicFileType GetBasicFileType() const = 0;
	virtual EPubPointer<IEPubBuffer> Serialize() const = 0;
	virtual EPUB_Result Deserialize(const EPubPointer<IEPubBuffer> buffer) = 0;
};

#endif // _I_EPUB_BASIC_FILE_H_